package com.crealth.model;

import java.io.Serializable;
import java.sql.Timestamp;
import com.alibaba.fastjson.JSONObject;

public class PledgeDiYaModel implements Serializable {
	private static final long serialVersionUID = 601905L;
	
	private int id;
	private int productID;  // 客户做的产品 id
	private String tdType;  // 土地类型
	private String loanBank;  // 原贷款银行
	private Timestamp bankJhrq;  // 银行申请 计划日期
	private Timestamp bankSjrq;  // 银行申请 实际日期
	private Timestamp zlfCzrq;  // 资料费 出账日期
	private String zlfJe;  // 资料费 金额
	private Timestamp pgfCzrq;  // 评估费 出账日期
	private String pgfCzje;  // 评估费 出账金额
	private Timestamp pfrqJhrq;  // 批复日期 计划日期
	private Timestamp pfrqSjrq;  // 批复日期 实际日期
	private Timestamp gzJhrq;  // 公证 计划日期
	private Timestamp gzSjrq;  // 公证 实际日期
	private Timestamp slJhckrq;  // 赎楼 计划出款日期
	private Timestamp slCksjrq;  // 赎楼 实际出款日期
	private String slAjjhje;  // 赎楼 加急计划金额
	private String slAjsjje;  // 赎楼 加急实际金额
	private String slBankjqbj;  // 赎楼 原银行结欠本金
	private String slBankjqlx;  // 赎楼 原银行结欠利息
	private String slHtje;  // 赎楼 合同金额
	private String slSjsyje;  // 赎楼 实际使用金额
	private int slHtts;  // 赎楼 合同天数
	private String slHtrx;  // 赎楼 合同日息
	private int slSjts;  // 赎楼 实际天数
	private String slSjrx;  // 赎楼 实际日息
	private int slZqts;  // 赎楼 展期天数
	private String slZqrx;  // 赎楼 展期日息
	private Timestamp dydjJhrq;  // 抵押登记 计划日期
	private Timestamp dydjSjrq;  // 抵押登记 实际日期
	private Timestamp dydjCzrq;  // 抵押登记 出账日期
	private String dydjCzje;  // 抵押登记 出账金额
	private String txfJhje;  // 贴现费 计划金额
	private String txfSjje;  // 贴现费 实际金额
	private String dgzhJhje;  // 对公账户使用费 计划金额
	private String dgzhSjje;  // 对公账户使用费 实际金额
	private Timestamp dcJhrq;  // 短拆 计划日期
	private Timestamp dcSjrq;  // 短拆 实际日期
	private String dcJhje;  // 短拆 计划金额
	private String dcSjje;  // 短拆 实际金额
	private int dcJhts;  // 短拆 计划天数
	private int dcSjts;  // 短拆 实际天数
	private String dcJhrx;  // 短拆 计划日息
	private String dcSjrx;  // 短拆 实际日息
	private int dcZqts1;  // 短拆 展期天数1
	private String dcZqrx1;  // 短拆 展期日息1
	private int dcZqts2;  // 短拆 展期天数2
	private String dcZqrx2;  // 短拆 展期日息2
	private String bankXfJhje;  // 银行小费及其他 计划金额
	private String bankXfSjje;  // 银行小费及其他 实际金额
	private String xycJsje;  // 信用差加收费用 计划金额
	private String xycSdyj;  // 信用差加收费用 公司实得佣金
	private String qkMemo;  // 情况说明
	private String memo1;
	private String memo2;
	private String memo3;
	private String memo4;
	private String memo5;
	private String memo6;
	private String memo7;
	private String memo8;
	private String memo9;
	private String memo10;
	private String memo11;
	private String memo12;
	private String memo13;
	private String memo14;
	private String memo15;
	private String memo16;
	private String memo17;
	private String memo18;
	private String memo19;
	private String memo20;
	private String memo21;
	private String memo22;
	private String memo23;
	private String memo24;
	private String memo25;
	
	public PledgeDiYaModel() {
		id = 0;
		productID = 0;  // 客户做的产品 id
		tdType = "";  // 土地类型
		loanBank = "";  // 原贷款银行
		bankJhrq = null;  // 银行申请 计划日期
		bankSjrq = null;  // 银行申请 实际日期
		zlfCzrq = null;  // 资料费 出账日期
		zlfJe = "";  // 资料费 金额
		pgfCzrq = null;  // 评估费 出账日期
		pgfCzje = "";  // 评估费 出账金额
		pfrqJhrq = null;  // 批复日期 计划日期
		pfrqSjrq = null;  // 批复日期 实际日期
		gzJhrq = null;  // 公证 计划日期
		gzSjrq = null;  // 公证 实际日期
		slJhckrq = null;  // 赎楼 计划出款日期
		slCksjrq = null;  // 赎楼 实际出款日期
		slAjjhje = "";  // 赎楼 加急计划金额
		slAjsjje = "";  // 赎楼 加急实际金额
		slBankjqbj = "";  // 赎楼 原银行结欠本金
		slBankjqlx = "";  // 赎楼 原银行结欠利息
		slHtje = "";  // 赎楼 合同金额
		slSjsyje = "";  // 赎楼 实际使用金额
		slHtts = 0;  // 赎楼 合同天数
		slHtrx = "";  // 赎楼 合同日息
		slSjts = 0;  // 赎楼 实际天数
		slSjrx = "";  // 赎楼 实际日息
		slZqts = 0;  // 赎楼 展期天数
		slZqrx = "";  // 赎楼 展期日息
		dydjJhrq = null;  // 抵押登记 计划日期
		dydjSjrq = null;  // 抵押登记 实际日期
		dydjCzrq = null;  // 抵押登记 出账日期
		dydjCzje = "";  // 抵押登记 出账金额
		txfJhje = "";  // 贴现费 计划金额
		txfSjje = "";  // 贴现费 实际金额
		dgzhJhje = "";  // 对公账户使用费 计划金额
		dgzhSjje = "";  // 对公账户使用费 实际金额
		dcJhrq = null;  // 短拆 计划日期
		dcSjrq = null;  // 短拆 实际日期
		dcJhje = "";  // 短拆 计划金额
		dcSjje = "";  // 短拆 实际金额
		dcJhts = 0;  // 短拆 计划天数
		dcSjts = 0;  // 短拆 实际天数
		dcJhrx = "";  // 短拆 计划日息
		dcSjrx = "";  // 短拆 实际日息
		dcZqts1 = 0;  // 短拆 展期天数1
		dcZqrx1= "";  // 短拆 展期日息1
		dcZqts2 = 0;  // 短拆 展期天数2
		dcZqrx2 = "";  // 短拆 展期日息2
		bankXfJhje = "";  // 银行小费及其他 计划金额
		bankXfSjje = "";  // 银行小费及其他 实际金额
		xycJsje = "";  // 信用差加收费用 计划金额
		xycSdyj = "";  // 信用差加收费用 公司实得佣金
		qkMemo = "";  // 情况说明
		memo1 = "";
		memo2 = "";
		memo3 = "";
		memo4 = "";
		memo5 = "";
		memo6 = "";
		memo7 = "";
		memo8 = "";
		memo9 = "";
		memo10 = "";
		memo11 = "";
		memo12 = "";
		memo13 = "";
		memo14 = "";
		memo15 = "";
		memo16 = "";
		memo17 = "";
		memo18 = "";
		memo19 = "";
		memo20 = "";
		memo21 = "";
		memo22 = "";
		memo23 = "";
		memo24 = "";
		memo25 = "";
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getProductID() {
		return productID;
	}
	public void setProductID(int productID) {
		this.productID = productID;
	}
	public String getTdType() {
		return tdType;
	}
	public void setTdType(String tdType) {
		this.tdType = tdType;
	}
	public String getLoanBank() {
		return loanBank;
	}
	public void setLoanBank(String loanBank) {
		this.loanBank = loanBank;
	}
	public Timestamp getBankJhrq() {
		return bankJhrq;
	}
	public void setBankJhrq(Timestamp bankJhrq) {
		this.bankJhrq = bankJhrq;
	}
	public Timestamp getBankSjrq() {
		return bankSjrq;
	}
	public void setBankSjrq(Timestamp bankSjrq) {
		this.bankSjrq = bankSjrq;
	}
	public Timestamp getZlfCzrq() {
		return zlfCzrq;
	}
	public void setZlfCzrq(Timestamp zlfCzrq) {
		this.zlfCzrq = zlfCzrq;
	}
	public String getZlfJe() {
		return zlfJe;
	}
	public void setZlfJe(String zlfJe) {
		this.zlfJe = zlfJe;
	}
	public Timestamp getPgfCzrq() {
		return pgfCzrq;
	}
	public void setPgfCzrq(Timestamp pgfCzrq) {
		this.pgfCzrq = pgfCzrq;
	}
	public String getPgfCzje() {
		return pgfCzje;
	}
	public void setPgfCzje(String pgfCzje) {
		this.pgfCzje = pgfCzje;
	}
	public Timestamp getPfrqJhrq() {
		return pfrqJhrq;
	}
	public void setPfrqJhrq(Timestamp pfrqJhrq) {
		this.pfrqJhrq = pfrqJhrq;
	}
	public Timestamp getPfrqSjrq() {
		return pfrqSjrq;
	}
	public void setPfrqSjrq(Timestamp pfrqSjrq) {
		this.pfrqSjrq = pfrqSjrq;
	}
	public Timestamp getGzJhrq() {
		return gzJhrq;
	}
	public void setGzJhrq(Timestamp gzJhrq) {
		this.gzJhrq = gzJhrq;
	}
	public Timestamp getGzSjrq() {
		return gzSjrq;
	}
	public void setGzSjrq(Timestamp gzSjrq) {
		this.gzSjrq = gzSjrq;
	}
	public Timestamp getSlJhckrq() {
		return slJhckrq;
	}
	public void setSlJhckrq(Timestamp slJhckrq) {
		this.slJhckrq = slJhckrq;
	}
	public Timestamp getSlCksjrq() {
		return slCksjrq;
	}
	public void setSlCksjrq(Timestamp slCksjrq) {
		this.slCksjrq = slCksjrq;
	}
	public String getSlAjjhje() {
		return slAjjhje;
	}
	public void setSlAjjhje(String slAjjhje) {
		this.slAjjhje = slAjjhje;
	}
	public String getSlAjsjje() {
		return slAjsjje;
	}
	public void setSlAjsjje(String slAjsjje) {
		this.slAjsjje = slAjsjje;
	}
	public String getSlBankjqbj() {
		return slBankjqbj;
	}
	public void setSlBankjqbj(String slBankjqbj) {
		this.slBankjqbj = slBankjqbj;
	}
	public String getSlBankjqlx() {
		return slBankjqlx;
	}
	public void setSlBankjqlx(String slBankjqlx) {
		this.slBankjqlx = slBankjqlx;
	}
	public String getSlHtje() {
		return slHtje;
	}
	public void setSlHtje(String slHtje) {
		this.slHtje = slHtje;
	}
	public String getSlSjsyje() {
		return slSjsyje;
	}
	public void setSlSjsyje(String slSjsyje) {
		this.slSjsyje = slSjsyje;
	}
	public int getSlHtts() {
		return slHtts;
	}
	public void setSlHtts(int slHtts) {
		this.slHtts = slHtts;
	}
	public String getSlHtrx() {
		return slHtrx;
	}
	public void setSlHtrx(String slHtrx) {
		this.slHtrx = slHtrx;
	}
	public int getSlSjts() {
		return slSjts;
	}
	public void setSlSjts(int slSjts) {
		this.slSjts = slSjts;
	}
	public String getSlSjrx() {
		return slSjrx;
	}
	public void setSlSjrx(String slSjrx) {
		this.slSjrx = slSjrx;
	}
	public int getSlZqts() {
		return slZqts;
	}
	public void setSlZqts(int slZqts) {
		this.slZqts = slZqts;
	}
	public String getSlZqrx() {
		return slZqrx;
	}
	public void setSlZqrx(String slZqrx) {
		this.slZqrx = slZqrx;
	}
	public Timestamp getDydjJhrq() {
		return dydjJhrq;
	}
	public void setDydjJhrq(Timestamp dydjJhrq) {
		this.dydjJhrq = dydjJhrq;
	}
	public Timestamp getDydjSjrq() {
		return dydjSjrq;
	}
	public void setDydjSjrq(Timestamp dydjSjrq) {
		this.dydjSjrq = dydjSjrq;
	}
	public Timestamp getDydjCzrq() {
		return dydjCzrq;
	}
	public void setDydjCzrq(Timestamp dydjCzrq) {
		this.dydjCzrq = dydjCzrq;
	}
	public String getDydjCzje() {
		return dydjCzje;
	}
	public void setDydjCzje(String dydjCzje) {
		this.dydjCzje = dydjCzje;
	}
	public String getTxfJhje() {
		return txfJhje;
	}
	public void setTxfJhje(String txfJhje) {
		this.txfJhje = txfJhje;
	}
	public String getTxfSjje() {
		return txfSjje;
	}
	public void setTxfSjje(String txfSjje) {
		this.txfSjje = txfSjje;
	}
	public String getDgzhJhje() {
		return dgzhJhje;
	}
	public void setDgzhJhje(String dgzhJhje) {
		this.dgzhJhje = dgzhJhje;
	}
	public String getDgzhSjje() {
		return dgzhSjje;
	}
	public void setDgzhSjje(String dgzhSjje) {
		this.dgzhSjje = dgzhSjje;
	}
	public Timestamp getDcJhrq() {
		return dcJhrq;
	}
	public void setDcJhrq(Timestamp dcJhrq) {
		this.dcJhrq = dcJhrq;
	}
	public Timestamp getDcSjrq() {
		return dcSjrq;
	}
	public void setDcSjrq(Timestamp dcSjrq) {
		this.dcSjrq = dcSjrq;
	}
	public String getDcJhje() {
		return dcJhje;
	}
	public void setDcJhje(String dcJhje) {
		this.dcJhje = dcJhje;
	}
	public String getDcSjje() {
		return dcSjje;
	}
	public void setDcSjje(String dcSjje) {
		this.dcSjje = dcSjje;
	}
	public int getDcJhts() {
		return dcJhts;
	}
	public void setDcJhtsint(int dcJhts) {
		this.dcJhts = dcJhts;
	}
	public int getDcSjts() {
		return dcSjts;
	}
	public void setDcSjts(int dcSjts) {
		this.dcSjts = dcSjts;
	}
	public String getDcJhrx() {
		return dcJhrx;
	}
	public void setDcJhrx(String dcJhrx) {
		this.dcJhrx = dcJhrx;
	}
	public String getDcSjrx() {
		return dcSjrx;
	}
	public void setDcSjrx(String dcSjrx) {
		this.dcSjrx = dcSjrx;
	}
	public int getDcZqts1() {
		return dcZqts1;
	}
	public void setDcZqts1(int dcZqts1) {
		this.dcZqts1 = dcZqts1;
	}
	public String getDcZqrx1() {
		return dcZqrx1;
	}
	public void setDcZqrx1(String dcZqrx1) {
		this.dcZqrx1 = dcZqrx1;
	}
	public int getDcZqts2() {
		return dcZqts2;
	}
	public void setDcZqts2(int dcZqts2) {
		this.dcZqts2 = dcZqts2;
	}
	public String getDcZqrx2() {
		return dcZqrx2;
	}
	public void setDcZqrx2(String dcZqrx2) {
		this.dcZqrx2 = dcZqrx2;
	}
	public String getBankXfJhje() {
		return bankXfJhje;
	}
	public void setBankXfJhje(String bankXfJhje) {
		this.bankXfJhje = bankXfJhje;
	}
	public String getBankXfSjje() {
		return bankXfSjje;
	}
	public void setBankXfSjje(String bankXfSjje) {
		this.bankXfSjje = bankXfSjje;
	}
	public String getXycJsje() {
		return xycJsje;
	}
	public void setXycJsje(String xycJsje) {
		this.xycJsje = xycJsje;
	}
	public String getXycSdyj() {
		return xycSdyj;
	}
	public void setXycSdyj(String xycSdyj) {
		this.xycSdyj = xycSdyj;
	}
	public String getQkMemo() {
		return qkMemo;
	}
	public void setQkMemo(String qkMemo) {
		this.qkMemo = qkMemo;
	}
	public String getMemo1() {
		return memo1;
	}
	public void setMemo1(String memo1) {
		this.memo1 = memo1;
	}
	public String getMemo2() {
		return memo2;
	}
	public void setMemo2(String memo2) {
		this.memo2 = memo2;
	}
	public String getMemo3() {
		return memo3;
	}
	public void setMemo3(String memo3) {
		this.memo3 = memo3;
	}
	public String getMemo4() {
		return memo4;
	}
	public void setMemo4(String memo4) {
		this.memo4 = memo4;
	}
	public String getMemo5() {
		return memo5;
	}
	public void setMemo5(String memo5) {
		this.memo5 = memo5;
	}
	public String getMemo6() {
		return memo6;
	}
	public void setMemo6(String memo6) {
		this.memo6 = memo6;
	}
	public String getMemo7() {
		return memo7;
	}
	public void setMemo7(String memo7) {
		this.memo7 = memo7;
	}
	public String getMemo8() {
		return memo8;
	}
	public void setMemo8(String memo8) {
		this.memo8 = memo8;
	}
	public String getMemo9() {
		return memo9;
	}
	public void setMemo9(String memo9) {
		this.memo9 = memo9;
	}
	public String getMemo10() {
		return memo10;
	}
	public void setMemo10(String memo10) {
		this.memo10 = memo10;
	}
	public String getMemo11() {
		return memo11;
	}
	public void setMemo11(String memo11) {
		this.memo11 = memo11;
	}
	public String getMemo12() {
		return memo12;
	}
	public void setMemo12(String memo12) {
		this.memo12 = memo12;
	}
	public String getMemo13() {
		return memo13;
	}
	public void setMemo13(String memo13) {
		this.memo13 = memo13;
	}
	public String getMemo14() {
		return memo14;
	}
	public void setMemo14(String memo14) {
		this.memo14 = memo14;
	}
	public String getMemo15() {
		return memo15;
	}
	public void setMemo15(String memo15) {
		this.memo15 = memo15;
	}
	public String getMemo16() {
		return memo16;
	}
	public void setMemo16(String memo16) {
		this.memo16 = memo16;
	}
	public String getMemo17() {
		return memo17;
	}
	public void setMemo17(String memo17) {
		this.memo17 = memo17;
	}
	public String getMemo18() {
		return memo18;
	}
	public void setMemo18(String memo18) {
		this.memo18 = memo18;
	}
	public String getMemo19() {
		return memo19;
	}
	public void setMemo19(String memo19) {
		this.memo19 = memo19;
	}
	public String getMemo20() {
		return memo20;
	}
	public void setMemo20(String memo20) {
		this.memo20 = memo20;
	}
	public String getMemo21() {
		return memo21;
	}
	public void setMemo21(String memo21) {
		this.memo21 = memo21;
	}
	public String getMemo22() {
		return memo22;
	}
	public void setMemo22(String memo22) {
		this.memo22 = memo22;
	}
	public String getMemo23() {
		return memo23;
	}
	public void setMemo23(String memo23) {
		this.memo23 = memo23;
	}
	public String getMemo24() {
		return memo24;
	}
	public void setMemo24(String memo24) {
		this.memo24 = memo24;
	}
	public String getMemo25() {
		return memo25;
	}
	public void setMemo25(String memo25) {
		this.memo25 = memo25;
	}
	
	public JSONObject toJSONObject(JSONObject json) {
		JSONObject jsonObj = null;
		if (json != null) {
			jsonObj = json;
		}
		else {
			jsonObj = new JSONObject();
		}		
		if (id > 0) {
			jsonObj.put("id", this.id);
		}
		if (productID > 0) {
			jsonObj.put("productID", productID);
		}
		if (tdType != null && tdType.length() > 0) {
			jsonObj.put("tdType", tdType);
		}
		if (loanBank != null && loanBank.length() > 0) {
			jsonObj.put("loanBank", loanBank);
		}
		if (bankJhrq != null) {
			jsonObj.put("bankJhrq", bankJhrq.getTime() / 1000);
		}
		if (bankSjrq != null) {
			jsonObj.put("bankSjrq", bankSjrq.getTime() / 1000);
		}
		if (zlfCzrq != null) {
			jsonObj.put("zlfCzrq", zlfCzrq.getTime() / 1000);
		}
		if (zlfCzrq != null) {
			jsonObj.put("zlfCzrq", zlfCzrq.getTime() / 1000);
		}
		if (zlfJe != null && zlfJe.length() > 0) {
			jsonObj.put("zlfJe", zlfJe);
		}
		if (pgfCzrq != null) {
			jsonObj.put("pgfCzrq", pgfCzrq.getTime() / 1000);
		}
		if (pgfCzje != null && pgfCzje.length() > 0) {
			jsonObj.put("pgfCzje", pgfCzje);
		}
		if (pfrqJhrq != null) {
			jsonObj.put("pfrqJhrq", pfrqJhrq.getTime() / 1000);
		}
		if (pfrqSjrq != null) {
			jsonObj.put("pfrqSjrq", pfrqSjrq.getTime() / 1000);
		}
		if (gzJhrq != null) {
			jsonObj.put("gzJhrq", gzJhrq.getTime() / 1000);
		}
		if (gzSjrq != null) {
			jsonObj.put("gzSjrq", gzSjrq.getTime() / 1000);
		}
		if (slJhckrq != null) {
			jsonObj.put("slJhckrq", slJhckrq.getTime() / 1000);
		}
		if (slCksjrq != null) {
			jsonObj.put("slCksjrq", slCksjrq.getTime() / 1000);
		}
		if (slAjjhje != null && slAjjhje.length() > 0) {
			jsonObj.put("slAjjhje", slAjjhje);
		}
		if (slAjsjje != null && slAjsjje.length() > 0) {
			jsonObj.put("slAjsjje", slAjsjje);
		}
		if (slBankjqbj != null && slBankjqbj.length() > 0) {
			jsonObj.put("slBankjqbj", slBankjqbj);
		}
		if (slBankjqlx != null && slBankjqlx.length() > 0) {
			jsonObj.put("slBankjqlx", slBankjqlx);
		}
		if (slHtje != null && slHtje.length() > 0) {
			jsonObj.put("slHtje", slHtje);
		}
		if (slSjsyje != null && slSjsyje.length() > 0) {
			jsonObj.put("slSjsyje", slSjsyje);
		}
		if (slHtts > 0) {
			jsonObj.put("slHtts", slHtts);
		}
		if (slHtrx != null && slHtrx.length() > 0) {
			jsonObj.put("slHtrx", slHtrx);
		}
		if (slSjts > 0) {
			jsonObj.put("slSjts", slSjts);
		}
		if (slSjrx != null && slSjrx.length() > 0) {
			jsonObj.put("slSjrx", slSjrx);
		}
		if (slZqts > 0) {
			jsonObj.put("slZqts", slZqts);
		}
		if (slZqrx != null && slZqrx.length() > 0) {
			jsonObj.put("slZqrx", slZqrx);
		}
		if (dydjJhrq != null) {
			jsonObj.put("dydjJhrq", dydjJhrq.getTime() / 1000);
		}
		if (dydjSjrq != null) {
			jsonObj.put("dydjSjrq", dydjSjrq.getTime() / 1000);
		}
		if (dydjCzrq != null) {
			jsonObj.put("dydjCzrq", dydjCzrq.getTime() / 1000);
		}		
		if (dydjCzje != null && dydjCzje.length() > 0) {
			jsonObj.put("dydjCzje", dydjCzje);
		}
		if (txfJhje != null && txfJhje.length() > 0) {
			jsonObj.put("txfJhje", txfJhje);
		}
		if (txfSjje != null && txfSjje.length() > 0) {
			jsonObj.put("txfSjje", txfSjje);
		}
		if (dgzhJhje != null && dgzhJhje.length() > 0) {
			jsonObj.put("dgzhJhje", dgzhJhje);
		}
		if (dgzhSjje != null && dgzhSjje.length() > 0) {
			jsonObj.put("dgzhSjje", dgzhSjje);
		}
		if (dcJhrq != null) {
			jsonObj.put("dcJhrq", dcJhrq.getTime() / 1000);
		}
		if (dcSjrq != null) {
			jsonObj.put("dcSjrq", dcSjrq.getTime() / 1000);
		}
		if (dcSjrq != null) {
			jsonObj.put("dcSjrq", dcSjrq.getTime() / 1000);
		}
		if (dcJhje != null && dcJhje.length() > 0) {
			jsonObj.put("dcJhje", dcJhje);
		}
		if (dcSjje != null && dcSjje.length() > 0) {
			jsonObj.put("dcSjje", dcSjje);
		}
		if (dcJhts > 0) {
			jsonObj.put("dcJhts", dcJhts);
		}
		if (dcSjts > 0) {
			jsonObj.put("dcSjts", dcSjts);
		}
		if (dcJhrx != null && dcJhrx.length() > 0) {
			jsonObj.put("dcJhrx", dcJhrx);
		}
		if (dcSjrx != null && dcSjrx.length() > 0) {
			jsonObj.put("dcSjrx", dcSjrx);
		}
		if (dcZqts1 > 0) {
			jsonObj.put("dcZqts1", dcZqts1);
		}
		if (dcZqrx1 != null && dcZqrx1.length() > 0) {
			jsonObj.put("dcZqrx1", dcZqrx1);
		}
		if (dcZqts2 > 0) {
			jsonObj.put("dcZqts2", dcZqts2);
		}
		if (dcZqrx2 != null && dcZqrx2.length() > 0) {
			jsonObj.put("dcZqrx2", dcZqrx2);
		}
		if (bankXfJhje != null && bankXfJhje.length() > 0) {
			jsonObj.put("bankXfJhje", bankXfJhje);
		}
		if (bankXfSjje != null && bankXfSjje.length() > 0) {
			jsonObj.put("bankXfSjje", bankXfSjje);
		}
		if (xycJsje != null && xycJsje.length() > 0) {
			jsonObj.put("xycJsje", xycJsje);
		}
		if (xycSdyj != null && xycSdyj.length() > 0) {
			jsonObj.put("xycSdyj", xycSdyj);
		}
		if (qkMemo != null && qkMemo.length() > 0) {
			jsonObj.put("qkMemo", qkMemo);
		}
		
		if (memo1 != null && memo1.length() > 0) {
			jsonObj.put("memo1", memo1);
		}
		if (memo2 != null && memo2.length() > 0) {
			jsonObj.put("memo2", memo2);
		}
		if (memo3 != null && memo3.length() > 0) {
			jsonObj.put("memo3", memo3);
		}
		if (memo4 != null && memo4.length() > 0) {
			jsonObj.put("memo4", memo4);
		}
		if (memo5 != null && memo5.length() > 0) {
			jsonObj.put("memo5", memo5);
		}
		if (memo6 != null && memo6.length() > 0) {
			jsonObj.put("memo6", memo6);
		}
		if (memo7 != null && memo7.length() > 0) {
			jsonObj.put("memo7", memo7);
		}
		if (memo8 != null && memo8.length() > 0) {
			jsonObj.put("memo8", memo8);
		}
		if (memo9 != null && memo9.length() > 0) {
			jsonObj.put("memo9", memo9);
		}
		if (memo10 != null && memo10.length() > 0) {
			jsonObj.put("memo10", memo10);
		}
		if (memo11 != null && memo11.length() > 0) {
			jsonObj.put("memo11", memo11);
		}
		if (memo12 != null && memo12.length() > 0) {
			jsonObj.put("memo12", memo12);
		}
		if (memo13 != null && memo13.length() > 0) {
			jsonObj.put("memo13", memo13);
		}
		if (memo14 != null && memo14.length() > 0) {
			jsonObj.put("memo14", memo14);
		}
		if (memo15 != null && memo15.length() > 0) {
			jsonObj.put("memo15", memo15);
		}
		if (memo16 != null && memo16.length() > 0) {
			jsonObj.put("memo16", memo16);
		}
		if (memo17 != null && memo17.length() > 0) {
			jsonObj.put("memo17", memo17);
		}
		if (memo18 != null && memo18.length() > 0) {
			jsonObj.put("memo18", memo18);
		}
		if (memo19 != null && memo19.length() > 0) {
			jsonObj.put("memo19", memo19);
		}
		if (memo20 != null && memo20.length() > 0) {
			jsonObj.put("memo20", memo20);
		}
		if (memo21 != null && memo21.length() > 0) {
			jsonObj.put("memo21", memo21);
		}
		if (memo22 != null && memo22.length() > 0) {
			jsonObj.put("memo22", memo22);
		}
		if (memo23 != null && memo23.length() > 0) {
			jsonObj.put("memo23", memo23);
		}
		if (memo24 != null && memo24.length() > 0) {
			jsonObj.put("memo24", memo24);
		}
		if (memo25 != null && memo25.length() > 0) {
			jsonObj.put("memo25", memo25);
		}
		
		return jsonObj;
	}
	
	public void parseFromJson(JSONObject jsonData) {
		if (jsonData.containsKey("diyaID")) {
			id = jsonData.getIntValue("diyaID");
		}
		if (jsonData.containsKey("productID")) {  // 客户做的产品 id
			productID = jsonData.getIntValue("productID");
		}
		if (jsonData.containsKey("tdType")) {
			tdType = jsonData.getString("tdType");  // 土地类型
		}
		if (jsonData.containsKey("loanBank")) {
			loanBank = jsonData.getString("loanBank");  // 原贷款银行
		}
		if (jsonData.containsKey("bankJhrq")) {
			long tm = jsonData.getLongValue("bankJhrq");
			bankJhrq = new Timestamp(tm*1000);  // 银行申请 计划日期
		}
		if (jsonData.containsKey("bankSjrq")) {
			long tm = jsonData.getLongValue("bankSjrq");
			bankSjrq = new Timestamp(tm * 1000);  // 银行申请 实际日期
		}
		if (jsonData.containsKey("zlfCzrq")) {
			long tm = jsonData.getLongValue("zlfCzrq");
			zlfCzrq = new Timestamp(tm * 1000);  // 资料费 出账日期
		}
		if (jsonData.containsKey("zlfJe")) {	
			zlfJe = jsonData.getString("zlfJe");  // 资料费 金额
		}
		if (jsonData.containsKey("pgfCzrq")) {
			long tm = jsonData.getLongValue("pgfCzrq");
			pgfCzrq = new Timestamp(tm * 1000);  // 评估费 出账日期
		}
		if (jsonData.containsKey("pgfCzje")) {
			pgfCzje = jsonData.getString("pgfCzje");  // 评估费 出账金额
		}
		if (jsonData.containsKey("pfrqJhrq")) {	
			long tm = jsonData.getLongValue("pfrqJhrq");
			pfrqJhrq = new Timestamp(tm * 1000);  // 批复日期 计划日期
		}
		if (jsonData.containsKey("pfrqSjrq")) {	
			long tm = jsonData.getLongValue("pfrqSjrq");
			pfrqSjrq = new Timestamp(tm * 1000);  // 批复日期 实际日期
		}
		if (jsonData.containsKey("gzJhrq")) {
			long tm = jsonData.getLongValue("gzJhrq");
			gzJhrq = new Timestamp(tm * 1000);  // 公证 计划日期
		}
		if (jsonData.containsKey("gzSjrq")) {
			long tm = jsonData.getLongValue("gzSjrq");
			gzSjrq = new Timestamp(tm * 1000);  // 公证 实际日期
		}
		if (jsonData.containsKey("slJhckrq")) {	
			long tm = jsonData.getLongValue("slJhckrq");
			slJhckrq = new Timestamp(tm * 1000);  // 赎楼 计划出款日期
		}
		if (jsonData.containsKey("slCksjrq")) {	
			long tm = jsonData.getLongValue("slCksjrq");
			slCksjrq = new Timestamp(tm * 1000);  // 赎楼 实际出款日期
		}
		if (jsonData.containsKey("slAjjhje")) {	
			slAjjhje = jsonData.getString("slAjjhje");  // 赎楼 加急计划金额
		}
		if (jsonData.containsKey("slAjsjje")) {	
			slAjsjje = jsonData.getString("slAjsjje");  // 赎楼 加急实际金额
		}
		if (jsonData.containsKey("slBankjqbj")) {	
			slBankjqbj = jsonData.getString("slBankjqbj");  // 赎楼 原银行结欠本金
		}
		if (jsonData.containsKey("slBankjqlx")) {	
			slBankjqlx = jsonData.getString("slBankjqlx");  // 赎楼 原银行结欠利息
		}
		if (jsonData.containsKey("slHtje")) {	
			slHtje = jsonData.getString("slHtje");  // 赎楼 合同金额
		}
		if (jsonData.containsKey("slSjsyje")) {	
			slSjsyje = jsonData.getString("slSjsyje");  // 赎楼 实际使用金额
		}
		if (jsonData.containsKey("slHtts")) {	
			slHtts = jsonData.getIntValue("slHtts");  // 赎楼 合同天数
		}
		if (jsonData.containsKey("slHtrx")) {	
			slHtrx = jsonData.getString("slHtrx");  // 赎楼 合同日息
		}
		if (jsonData.containsKey("slSjts")) {	
			slSjts = jsonData.getIntValue("slSjts");  // 赎楼 实际天数
		}
		if (jsonData.containsKey("slSjrx")) {	
			slSjrx = jsonData.getString("slSjrx");  // 赎楼 实际日息
		}
		if (jsonData.containsKey("slZqts")) {	
			slZqts = jsonData.getIntValue("slZqts");  // 赎楼 展期天数
		}
		if (jsonData.containsKey("slZqrx")) {	
			slZqrx = jsonData.getString("slZqrx");  // 赎楼 展期日息
		}
		if (jsonData.containsKey("dydjJhrq")) {
			long tm = jsonData.getLongValue("dydjJhrq");
			dydjJhrq = new Timestamp(tm * 1000);  // 抵押登记 计划日期
		}
		if (jsonData.containsKey("dydjSjrq")) {	
			long tm = jsonData.getLongValue("dydjSjrq");
			dydjSjrq = new Timestamp(tm * 1000);  // 抵押登记 实际日期
		}
		if (jsonData.containsKey("dydjCzrq")) {	
			long tm = jsonData.getLongValue("dydjCzrq");
			dydjCzrq = new Timestamp(tm * 1000);  // 抵押登记 出账日期
		}
		if (jsonData.containsKey("dydjCzje")) {	
			dydjCzje = jsonData.getString("dydjCzje");  // 抵押登记 出账金额
		}
		if (jsonData.containsKey("txfJhje")) {	
			txfJhje = jsonData.getString("txfJhje");  // 贴现费 计划金额
		}
		if (jsonData.containsKey("txfSjje")) {	
			txfSjje = jsonData.getString("txfSjje");  // 贴现费 实际金额
		}
		if (jsonData.containsKey("dgzhJhje")) {	
			dgzhJhje = jsonData.getString("dgzhJhje");  // 对公账户使用费 计划金额
		}
		if (jsonData.containsKey("dgzhSjje")) {	
			dgzhSjje = jsonData.getString("dgzhSjje");  // 对公账户使用费 实际金额
		}
		if (jsonData.containsKey("dcJhrq")) {
			long tm = jsonData.getLongValue("dcJhrq");
			dcJhrq = new Timestamp(tm * 1000);  // 短拆 计划日期
		}
		if (jsonData.containsKey("dcSjrq")) {
			long tm = jsonData.getLongValue("dcSjrq");
			dcSjrq = new Timestamp(tm * 1000);  // 短拆 实际日期
		}
		if (jsonData.containsKey("dcJhje")) {	
			dcJhje = jsonData.getString("dcJhje");  // 短拆 计划金额
		}
		if (jsonData.containsKey("dcSjje")) {	
			dcSjje = jsonData.getString("dcSjje");  // 短拆 实际金额
		}
		if (jsonData.containsKey("dcJhts")) {	
			dcJhts = jsonData.getIntValue("dcJhts");  // 短拆 计划天数
		}
		if (jsonData.containsKey("dcSjts")) {	
			dcSjts = jsonData.getIntValue("dcSjts");  // 短拆 实际天数
		}
		if (jsonData.containsKey("dcJhrx")) {	
			dcJhrx = jsonData.getString("dcJhrx");  // 短拆 计划日息
		}
		if (jsonData.containsKey("dcSjrx")) {	
			dcSjrx = jsonData.getString("dcSjrx");  // 短拆 实际日息
		}
		if (jsonData.containsKey("dcZqts1")) {	
			dcZqts1 = jsonData.getIntValue("dcZqts1");  // 短拆 展期天数1
		}
		if (jsonData.containsKey("dcZqrx1")) {	
			dcZqrx1 = jsonData.getString("dcZqrx1");  // 短拆 展期日息1
		}
		if (jsonData.containsKey("dcZqts2")) {	
			dcZqts2 = jsonData.getIntValue("dcZqts2");  // 短拆 展期天数2
		}
		if (jsonData.containsKey("dcZqrx2")) {	
			dcZqrx2 = jsonData.getString("dcZqrx2");  // 短拆 展期日息2
		}
		if (jsonData.containsKey("bankXfJhje")) {	
			bankXfJhje = jsonData.getString("bankXfJhje");  // 银行小费及其他 计划金额
		}
		if (jsonData.containsKey("bankXfSjje")) {	
			bankXfSjje = jsonData.getString("bankXfSjje");  // 银行小费及其他 实际金额
		}
		if (jsonData.containsKey("xycJsje")) {	
			xycJsje = jsonData.getString("xycJsje");  // 信用差加收费用 计划金额
		}
		if (jsonData.containsKey("xycSdyj")) {	
			xycSdyj = jsonData.getString("xycSdyj");  // 信用差加收费用 公司实得佣金
		}
		if (jsonData.containsKey("qkMemo")) {	
			qkMemo = jsonData.getString("qkMemo");  // 情况说明
		}
		
		if (jsonData.containsKey("memo1")) {	
			memo1 = jsonData.getString("memo1");
		}
		if (jsonData.containsKey("memo2")) {	
			memo2 = jsonData.getString("memo2");
		}
		if (jsonData.containsKey("memo3")) {	
			memo3 = jsonData.getString("memo3");
		}
		if (jsonData.containsKey("memo4")) {	
			memo4 = jsonData.getString("memo4");
		}
		if (jsonData.containsKey("memo5")) {	
			memo5 = jsonData.getString("memo5");
		}
		if (jsonData.containsKey("memo6")) {	
			memo6 = jsonData.getString("memo6");
		}
		if (jsonData.containsKey("memo7")) {	
			memo7 = jsonData.getString("memo7");
		}
		if (jsonData.containsKey("memo8")) {	
			memo8 = jsonData.getString("memo8");
		}
		if (jsonData.containsKey("memo9")) {	
			memo9 = jsonData.getString("memo9");
		}
		if (jsonData.containsKey("memo10")) {	
			memo10 = jsonData.getString("memo10");
		}
		if (jsonData.containsKey("memo11")) {	
			memo11 = jsonData.getString("memo11");
		}
		if (jsonData.containsKey("memo12")) {	
			memo12 = jsonData.getString("memo12");
		}
		if (jsonData.containsKey("memo13")) {	
			memo13 = jsonData.getString("memo13");
		}
		if (jsonData.containsKey("memo14")) {	
			memo14 = jsonData.getString("memo14");
		}
		if (jsonData.containsKey("memo15")) {	
			memo15 = jsonData.getString("memo15");
		}
		if (jsonData.containsKey("memo16")) {	
			memo16 = jsonData.getString("memo16");
		}
		if (jsonData.containsKey("memo17")) {	
			memo17 = jsonData.getString("memo17");
		}
		if (jsonData.containsKey("memo18")) {	
			memo18 = jsonData.getString("memo18");
		}
		if (jsonData.containsKey("memo19")) {	
			memo19 = jsonData.getString("memo19");
		}
		if (jsonData.containsKey("memo20")) {	
			memo20 = jsonData.getString("memo20");
		}
		if (jsonData.containsKey("memo21")) {	
			memo21 = jsonData.getString("memo21");
		}
		if (jsonData.containsKey("memo22")) {	
			memo22 = jsonData.getString("memo22");
		}
		if (jsonData.containsKey("memo23")) {	
			memo23 = jsonData.getString("memo23");
		}
		if (jsonData.containsKey("memo24")) {	
			memo24 = jsonData.getString("memo24");
		}
		if (jsonData.containsKey("memo25")) {	
			memo25 = jsonData.getString("memo25");
		}		
		
	}
	
	

}
